<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 extractitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>提现管理</title>
<script type="text/javascript" src="../scripts/itsm/system/extractMain.js"></script>
</head>
<body>

<div>

<form id="extractMain_search_form">	
	<table>
		<tr>
			<td>状态</td>
			<td><select name="extractDTO.status" onclick="statuschange(this.value)" >
					<option value="">全部</option>
					<option value="待受理">待受理</option>
					<option value="已处理">已处理</option>
					<option value="拒绝">拒绝</option>
					
				</select></td>
				<td>会员</td>
			<td><input name="extractDTO.loginName" class="input" value="ALL" /></td>
			<td><a class="easyui-linkbutton" icon="icon-save" href="javascript:itsm.system.extractMain.searchextract()">搜索</a></td>
		</tr>
	</table>
	</form>

</div>

<div id="extractMainGridToolbar" style="padding: 0px;display: none;">
<a onclick="itsm.system.extractMain.openExtractWin('agree')" class="easyui-linkbutton" id="extractMainGrid_hanld_agree" icon="icon-save" plain="true">同意提现</a>
<a onclick="itsm.system.extractMain.openExtractWin('refuse')" class="easyui-linkbutton" id="extractMainGrid_hanld_refuse" icon="icon-save" plain="true">拒绝提现</a>
<!--  
<a onclick="itsm.system.extractMain.deleteextract()" class="easyui-linkbutton" id="extractMainGrid_del" icon="icon-cancel" plain="true">删除</a>-->
</div>
<table id='extractMainGrid'></table>
<div id='extractMainPager'></div>


<%-- 搜索  --%>
<div title="搜索 " id="extractMain_search_win" class="easyui-window" closed="true" collapsible="false" modal="false" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	
</div>


<%-- 搜索  --%>
<script type="text/javascript">

	function statuschange(value){
		if(value=='已处理'){
			$('#remark').val('已受理，将24小时内到账!');
		}
		if(value=='拒绝'){
			$('#remark').val('拒绝，提现帐户信息有误!');
		}
	}
</script>
<div title="处理" id="extractMain_hanld_win" class="easyui-window" closed="true" collapsible="false" modal="false" minimizable="false" maximizable="false" collapsible="false" style="width:500px; height:auto;padding:3px">
	<form id="extractMain_hanld_form">
	<input type="hidden" name="extractDTO.id" id="extract_id" />
	<input type="hidden" name="extractDTO.status" id="extract_status" />
	<table>
		<!-- <tr>
			<td>状态</td>
			<td>
				<select name="extractDTO.status" onclick="statuschange(this.value)" >
					<option value="已处理">已处理</option>
					<option value="拒绝">拒绝</option>
				</select>
			</td>
		</tr> -->
		<tr>
			<td></td>
			<td><span style="color:red;font-size: 16px;font-weight: 600;" id="showstatus"></span></td>
		</tr>
		<tr>
			<td>备注</td>
			<td><textarea rows="5" cols="40" name="extractDTO.remark" id="remark" value="已受理，将24小时内到账!" class="input" ></textarea></td>
		</tr>
		<tr>
			<td colspan="2">
				<a class="easyui-linkbutton" icon="icon-save" href="javascript:itsm.system.extractMain.extractsubmit()">提交处理</a>
			</td>
		</tr>
	</table>
	</form>
</div>



</body>
</html>